﻿using B.S.BaseData.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace B.S.BaseData.Infrastructure
{
    public class DBContext : DbContext
    {
        public DBContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<User> Users { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }
        public DbSet<MenuManagement> MenuManagements { get; set; }
        public DbSet<RoleMenu> RoleMenus { get; set; }
        public DbSet<RecordSheet> RecordSheets { get; set; }
        public DbSet<Apply> Applies { get; set; }
    }
}
